<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="static/bootstrap/2.1.0/css/bootstrap.css" rel="stylesheet" >
<title><spring:message code="title.user.login"></spring:message></title>
</head>
<body>
	<div>
		<a href="${ctx}/register">register</a>
	</div>
	<form:form modelAttribute="account" action="${ctx}/login" method="post">
		<form:errors path="*" element="div" cssClass="errors" />
		<br>
		<spring:message code="label.user.username"></spring:message>:<form:input path="username" type="text" />
		<br>
		<spring:message code="label.user.password"></spring:message>:<form:input path="password" type="password" />
		<br>
		<input type="submit" class="btn">
	</form:form>
</body>
</html>